Create a webpage with a heading (e.g., "Welcome Visitor") and a button.
Clicking the button should change the heading text to something personalized (e.g., "Welcome [Your Name]!").
function printname(){
const message = document.getElementById('message');
const name = document.getElementById('inputbox').value;
message.innerText ="Welcome "+name;
}